/**
 * Copyright (c) 2018-2099, Chill Zhuang 庄骞 (bladejava@qq.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.modules.pig.consolidatedReport.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

import java.io.Serial;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 支出记录表实体类
 *
 * @author Blade
 * @since 2025-06-18
 */
@Data
@TableName("p_expense_records")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "支出记录表")
public class ExpenseRecords extends BaseEntity {

    @Serial
	private static final long serialVersionUID = 1L;

    /**
     * *物料名称
     */
    @Schema(description = "*物料名称")
    private String materialName;
    /**
     * *物料类型
     */
    @Schema(description = "*物料类型")
    private String materialType;
    /**
     * *数量
     */
    @Schema(description = "*数量")
    private BigDecimal quantity;
    /**
     * *计量单位
     */
    @Schema(description = "*计量单位")
    private String unitOfMeasure;
    /**
     * *支出金额
     */
    @Schema(description = "*支出金额")
    private BigDecimal expenditureAmount;
    /**
     * 导入文件路径（可选）
     */
    @Schema(description = "导入文件路径（可选）")
    private String filePath;
	/**
	 * 收入日期
	 */
	@Schema(description = "支出日期")
	private LocalDate expenseDate;

	@Schema(description = "备注")
	private String remark;

	@Schema(description = "支付方式")
	private String payType;
}
